package com.spr.Entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Press {
    private Integer pid ;
    private String pname;
    private String pnb;

    @Override
    public String toString() {
        return "Press{" +
                "pid=" + pid +
                ", pname='" + pname + '\'' +
                ", pnb='" + pnb + '\'' +
                '}';
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public void setPname(String pname) {
        this.pname = pname;
    }

    public String getPnb() {
        return pnb;
    }

    public void setPnb(String pnb) {
        this.pnb = pnb;
    }

    public String getPname() {
        return pname;
    }
}
